<?php
function _fangwenip(){
	$ip = '';
	foreach (array('HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR', 'HTTP_FROM', 'REMOTE_ADDR') as $v) {
		if(isset($_SERVER[$v])){
			if(!preg_match("/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/",$_SERVER[$v])){
				continue;
			}
			$ip=$_SERVER[$v];
		}
	}	
	return $ip;
}
function liulanqitype(){
    if(false!==strpos($_SERVER['HTTP_USER_AGENT'],'MSIE 8.0')){   
        return 'Internet Explorer 8.0';  
    }  
    if(false!==strpos($_SERVER['HTTP_USER_AGENT'],'MSIE 7.0')){   
        return 'Internet Explorer 7.0';  
    }  
    if(false!==strpos($_SERVER['HTTP_USER_AGENT'],'MSIE 6.0')){   
        return 'Internet Explorer 6.0';  
    }
    return false;
}

if(liulanqitype()){
   echo "你的浏览器内核版本过低，请使用非IE浏览器的极速模式访问。下载地址：<a href='http://down.360safe.com/se/360se9.1.0.364.exe'>360浏览器9.0+</a>" ;
   exit();
}